package com.sign.webview;

import android.webkit.JavascriptInterface;

public class Bridge {
   public static StringBuilder sb = new StringBuilder();
    @JavascriptInterface
    public void init() {
        System.out.println("WebAssembly初始化完成，可以开始写字");
    }

    @JavascriptInterface
    public void save(String s) {
        sb.append(s);
        System.out.println(s);
    }
}
